import request from '@/utils/request'

export function getFileInfoList(query) {
  return request({
    url: '/files',
    method: 'get',
    params: query
  })
}

export function fileDelete(id) {
  return request({
    url: `/file/${id}`,
    method: 'delete'
  })
}
